package Test;




public class 镜像二叉树 {
    public TreeNode Mirror (TreeNode pRoot) {
       if(pRoot==null) return null;
       TreeNode t=pRoot.right;
       pRoot.right=pRoot.left;
       pRoot.left=t;
       Mirror(pRoot.left);
       Mirror(pRoot.right);
       return pRoot;
    }
}
